//
// Created by jiangpenghui on 2023/3/27.
//

#include "WitchCC.h"

#include <iostream>

using namespace std;

WitchCC::WitchCC(const WitchCC &) {
    cout << "WithCC(WithCC&)" << endl;
}

WitchCC::WitchCC() {
    cout << "Constructor is no" << endl;
}

// const 指针
void const_print() {
    int a;
    int &ra = a;

    int rb = 10;

    // 地址相同
    ::printf("a is address %p  ra is address %p\n", a, ra);

    // ra 赋值
    ra = 10;
    cout << a << "   " << ra << endl;


}


